package me.youline.dataServer.entity.socialActionMsg;

import java.util.Date;

/**
 * 社交行为通知消息通知记录实体。主要记录通知信息与通知人之间的关系，可以实现一个通知多个用户。
 * @author linhan
 *
 */
public class SocialActionMsgNotifyRecord {

	/**
	 * 通知消息类型
	 * @author linhan
	 *
	 */
	public static enum NotifyMsgType{
		PRAISE,//点赞操作
		FOLLOWING//关注操作
	}
	
	private Long id;

	private Long msgId;

	private Long userId;
	
	private NotifyMsgType msgType;

	private Date notifyTime;

	public SocialActionMsgNotifyRecord() {
	}

	public SocialActionMsgNotifyRecord(Long msgId, Long userId) {
		super();
		this.msgId = msgId;
		this.userId = userId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMsgId() {
		return msgId;
	}

	public void setMsgId(Long msgId) {
		this.msgId = msgId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Date getNotifyTime() {
		return notifyTime;
	}

	public void setNotifyTime(Date notifyTime) {
		this.notifyTime = notifyTime;
	}

	public NotifyMsgType getMsgType() {
		return msgType;
	}

	public void setMsgType(NotifyMsgType msgType) {
		this.msgType = msgType;
	}
	

}
